home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: cnn.nas.nasa.gov!eos!jim-ra
- From: jim-ra@eos.arc.nasa.gov (Jim Stevenson's reader)
- Subject: Re: assembly code in c ?
- Message-ID: <1996Mar19.232856.20552@eos.arc.nasa.gov>
- Organization: NASA Ames Research Center
- References: <314C6E40.5111@cs.concordia.ca> <4ii5cn$ab3@msunews.cl.msu.edu>
- Distribution: usa
- Date: Tue, 19 Mar 1996 23:28:56 GMT
-
- eisenbe4@pilot.msu.edu (eisenbe4@pilot.msu.edu) writes:
-
- >"Aaron H. Chu" <chuhc@cs.concordia.ca> wrote:
-
- >>Dear netters,
-
- >>I would like to know whether it is possble to embed assembly
- >>codes in a c program.
- > Yes you can program ASM into C. Its called in-line assemble
-
- >>What about the problems when writing codes on different
- >>platforms ?
- BIG PROBLEMS. Much of the in-line assembler won't be compatible
- on machines using other OS's (== platforms rite? ;)
-
-
- Do I need to know the register sets well
- >>before I attempt to write the program ?
- It REALLY depends on HOW MANY lines of assembly code ( ie: are
- you just haveing very short assembly routines that massage a few
- variables with like XOR's and BIT shifts OR are you writng a few kilo
- bytes )
-
-
- >>Replies should direct to me and suggestios are welcomed
-
- >>Thanks in advance
-
- >>Aaron
-
-
-